Add `sendMessage` for sending messages to peers

This isn't working yet, I think.