title: Set Node.js to use a local HTTP/SOCKS proxy for all outgoing requests?
body: <p>I am using Node.js on Windows, and unfortunately had to pipe all outbound traffic through a corporate proxy (HTTP/SOCKS) to test any outgoing requests (for example, oauth, where node.js must reach remote server for tokens).</p>
  
  <p>Is there a global configuration where I can specify this? I don't think it's worth it to update oauth module to support proxy; our production environment does not require such proxy configuration anyway.</p>