Added support to add custom HTTP headers to the request.