Client-side decompression doesn't work

On my system, when testing, the client receives a message. The message is correctly terminated by FFFF, but the decompression yields 0 bytes.

This might be due to a newer version of zlib and something we do slightly wrong which worked previously.