UserSocket.prototype = {
  add: function (socket) {
    const waiters = {};
    const self = this;