Fix ZLib compression of outgoing protocol
Fix upload bandwidth information when compression is used