The Haskell server provides the WebRTC signaling, which is the only part of WebRTC that is not handled by the in-browser APIs. Basically before a peer-to-peer connection can be established, you have to provide some way of sending messages between the two users.