some CMake changes + StubMessage
now network byte ordering while sending msg size