HttpClient: set CURLOPT_ACCEPT_ENCODING if Accept-Encoding found in request headers

Set `CURLOPT_ACCEPT_ENCODING` if the `Accept-Encoding` header found in the request headers. This is required to enable libcurl's support of `Content-Encoding` (compression of HTTP contents).