title: node.js https.get() fires error ECONNREFUSED
body: <p>One of the steps of the OAuth dance involves exchanging a code received via a callback for an access token. Specifically for Facebook server side auth, the following https GET request returns the access code in the response body:</p>
  
  <pre><code>https://graph.facebook.com/oauth/access_token?
    client_id=YOUR_APP_ID
    &amp;redirect_uri=YOUR_REDIRECT_URI
    &amp;client_secret=YOUR_APP_SECRET
    &amp;code=CODE_GENERATED_BY_FACEBOOK
  </code></pre>
  
  <p>Node.js fires an error when attempting to connect thus:</p>
  
  <pre><code> https.get( /**String | Object*/ options, function ( res ) {
     res.setEncoding( 'utf8' );
  
     res.on( 'data', function ( data ) {
       // parse response body
     } );
  
   } ).on( 'error',function ( e ) {
        Log.w( TAG, "Error requesting access_token", e );
   } ).end();
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>{  code: 'ECONNREFUSED',
     errno: 'ECONNREFUSED',
     syscall: 'connect' }
  </code></pre>
  
  <p>The call works fine with wget/curl so its not a question of outgoing firewall rules or such. What is wrong with the node request?</p>