code: function () {
      // Determine https vs. http
      this.server = this.ssl ?
          https.createServer(this.ssl) :
          http.createServer();
  
      // Bind to the request
      this.server.on('request', this.handle.bind(this));
    }
docs: Create a new server