title: How to extract request http headers from a request using NodeJS connect
body: <p>I'd like to get the "Host" header of a request made using Node JS's connect library bundle. My code looks like: </p>
  
  <pre><code>var app = connect()
    .use(connect.logger('dev'))
    .use(connect.static('public'))
    .use(function(req, res){
  
      var host = req.???
  
    })
   .listen(3000);
  </code></pre>
  
  <p>The documentation for connect is here but I don't see anything detailing the API of the <code>req</code> object in the above code. <a href="http://www.senchalabs.org/connect/" rel="noreferrer">http://www.senchalabs.org/connect/</a></p>
  
  <p><strong>Edit</strong>: Note a successful answer must point to the documentation (I need this to verify which version provided the API I'm looking for).</p>