code: function(status, reasonPhrase, headers) {
          var self = this;
  
          each(headers || reasonPhrase, function(value, name) {
            self.setHeader(name, value);
          });
  
          return this._super(status, typeof reasonPhrase === 'string' ? reasonPhrase : undefined);
        }
docs: Overwrite writeHead since it can also set the headers and we need to override the transfer-encoding