send correct message type to peer connection