Set Node.js to use a local HTTP/SOCKS proxy for all outgoing requests?

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).

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.