public function init($keepalive = false)
        {
            $this->handshake();
            $this->connect();

            if ($keepalive) {
                $this->keepAlive();
            } else {
                return $this;
            }
        }