adds message reader for peer messages.
Peer message writer