Modified implementation to contain message size in TCP, reading full message to buffer now and processing afterwards, pushing to test.