Added zlib compression to messaging