public function connect() { $this->socket->connect($this->config->getHost(), $this->config->getPort()); $initial = $this->receive(14); $this->setLoginKey($initial); return $this; }