add zlib compression for webshat streamming