A wrapper for Node's http.request