consumeMsgQueue = () => {
      while (clientMsgQueue.length > 0) {
        const message = clientMsgQueue.shift();
        proxyWs.send(message);
      }
    }
consume the message in queue when the proxy ws is not ready yet
will handle them from the first one-by-one