Update Peer.java

move messages, to messages