(in-progress) make message reading/writing work
Implement message serialization/deserialization