added decompression to client
added support for arithmeticcompress and arithmeticdecompress