added sendMessage to peer message methods