docs: public Socket createSocket(SocketType type)
      {
          // Create and register socket
          Socket socket = context.socket(type);
          socket.setRcvHWM(this.rcvhwm);
          socket.setSndHWM(this.sndhwm);
          sockets.add(socket);
          return socket;
      }