use zlib to compress or uncompress  for string