gzip re adapted to new zlibstream