make gzip.py output gzip, add zlib.py
adding test for zlib-compressed response