Set gzip and deflate encoding headers