Extend createClient params with agent

One can pass a new http.Agent or false to overwrite the default
globalAgent used by http.request