refactor server peer to RTCToNet.Peer