private function bootWebSocketServer($withZmq = false)
    {
        if ($withZmq || $this->option('zmq')) {
            $this->bootZmqConnection();
        }

        $this->wsServerInstance = new WsServer($this->serverInstance);

        $this->serverInstance = new HttpServer(
            $this->wsServerInstance
        );

        if($this->keepAlive > 0){
            $this->wsServerInstance->enableKeepAlive($this->getEventLoop(), $this->keepAlive);
        }

        return $this->bootIoServer();
    }