Fixing warnings
Limiting maximally allowed message size to avoid malicious attack (TCP only for now).
Remove obsolete example from build system