Verify that gzip Content-Encoding header gets added exactly once