Made peer.sendMessage() static