The design of a WebRTC client