made the response writer gzip if the client allows it