Set Accept-Encoding only if INTERNET_OPTION_HTTP_DECODING could be set on the connection