private function handleStreamStart(XMLTag $tag) { $this->send('<handshake>' . sha1($tag->getAttribute('id') . $this->password) . '</handshake>'); }