protected function _readBoolean() { $this->_input_buffer .= $value = $this->_socket->read(1); return ord($value) == 1; }