support zlib deflate recompression