Revert "removed unused import"

This reverts commit 99b30a34ef27aaf058cf581d3e01371c7f742e3b.
Revert "Compressed frame gets decompressed by default at instantiation"

This reverts commit 4302c98b783c4759fad5c86e43a0d7c90946f2cf.
Compression can be set in client initialisation