protected function _readBytes() { $length = $this->_readInt(); if ($length === -1) { return null; } else { if ($length === 0) { return ''; } else { $this->_input_buffer .= $string = $this->_socket->read($length); return $string; } } }