add supprot for zlib compression