Adding connection-persistent state object
Creating a message object to abstract the en/decode