… global for context
…y was producing an invalid cookie string in the header. Also, take into account the scenario where the header set-cookie is an array
…requestParams`. For GET and DELETE requests, the parameters are added to the query string. For POST and PUTs, where there is no request body or the request body is urlencoded, the parameters are added to the request body.
These are based on the test cases for `node-oauth`, where applicable.