support gzip for proxy.