Honor Accept-Encoding if it was set in the request, close #686