Support for adding snippet to gzipped/deflateed HTML in proxy mode