check and serve gzip content-encoding