add a p2p message function

create datachannel , check if state is open , send data to all peers