use zlib to decompress the data on the pipe