Use the SPA model in the chat app, and enable the data channel in webrtc based on if spachannel is in the capabilities or not