#551 support gzip compression