Adding support for custom header and custom query parameters to request.