added leader conflict resolution to rtcpeer connection process