added tcp compression/decompression