Adding zlib compression support