Add transparent LZ4 compression of serialized messages

I may have messed the formatting. Also, I have updated the build to use the last versions of the dependencies - they are not essential apart of adding lz4 dependency..