Add deflater for compression
Compression fixes