Resource-oriented HTTP client for node.js