Clearer algorithm for message reception loops
Compressing messages using zlib to save some bandwith (in large messages)