added zlib compression when reading/writing on remote nodes.