Changed call from sendDataWS to sendPeerMessage