refactor msgpack reading code for reusability; implement a basic command-response protocol, change the driving end to be the 'to' end