Added length prefix to messages and removed the postfix