code: function IncomingMessage(socket) {
    stream.Stream.call(this);
  
    // TODO Remove one of these eventually.
    this.socket = socket;
    this.connection = socket;
  
    this.httpVersion = null;
    this.complete = false;
    this.headers = {};
    this.trailers = {};
  
    this.readable = true;
  
    this._paused = false;
    this._pendings = [];
  
    this._endEmitted = false;
  
    // request (server) only
    this.url = '';
  
    this.method = null;
  
    // response (client) only
    this.statusCode = null;
    this.client = this.socket;
  }
docs: /* Abstract base class for ServerRequest and ClientResponse.