protected function createClientSocket()
    {
        /** @var Context|\ZMQContext $clientContext */
        $clientContext = new Context($this->loop);
        $this->clientSocket = $clientContext->getSocket(\ZMQ::SOCKET_ROUTER);
        $this->clientSocket->bind($this->config['sockets']['client']);
        $this->clientSocket->on('messages', [$this, 'onClientMessage']);
    }