Extend createClient params with agent

One can pass a `new http.Agent` or `false` as fith argument to `createClient` to to overwrite the default
`globalAgent` used by `http.request` in `queryRequest` and `updateRequest`.