A simple configurable wrapper for HTTP and HTTPS in Node.js