function HttpRequest(headers, pSocket) {
  this.version = 'HTTP/1.1';
  this.headers = headers;
  this.responseHeaders_ = {};
  this.headersSent = false;
  this.pSocket_ = pSocket;
  this.writes_ = 0;
  this.bytesRemaining = 0;
  this.finished_ = false;
  this.readyState = 1;
}
Constructs an HttpRequest object which tracks all of the request headers and
socket for an active Http request.
@param {Object} headers The HTTP request headers.
@param {Object} pSocket The socket to use for the response.
@constructor