code: function NetworkServer(server) {
    this.server = server;
    function connection(socket) {
      server.connection(socket, this);
    }
    this.on('connection', connection);
  }
docs: Abstract server class.
  
  @param server The main server instance.