title: node.js http 'get' request with query string parameters
body: <p>I have a Node.js application that is an http client (at the moment).  So I'm doing:</p>
  
  <pre><code>var query = require('querystring').stringify(propertiesObject);
  http.get(url + query, function(res) {
     console.log("Got response: " + res.statusCode);
  }).on('error', function(e) {
      console.log("Got error: " + e.message);
  });
  </code></pre>
  
  <p>This seems like a good enough way to accomplish this.  However I'm somewhat miffed that I had to do the <code>url + query</code> step.  This should be encapsulated by a common library, but I don't see this existing in node's <code>http</code> library yet and I'm not sure what standard npm package might accomplish it.  Is there a reasonably widely used way that's better?</p>
  
  <p><a href="http://nodejs.org/api/url.html#url_url_format_urlobj" rel="noreferrer">url.format</a> method saves the work of building own URL.  But ideally the request will be higher level than this also.</p>