don't use HTTP_ACCEPT_ENCODING if it isn't there

@bradyoo @diwu1989