public function outputFrame($s, $flush = true) { $this->bytesSent += mb_orig_strlen($s); return parent::out($s, $flush); }