OAuth authentication doesn't work well if Accept-Encoding is set in the header
factorize the Accept-Encoding string
typo fix
only force allowing gzip/deflate when we're using our InputStream handler