WebRTC socket support

Add support for webrtc-based sockets. Moved both backends behind a settings flag, SOCKET_WEBRTC.