WebSocket-based node server for multiplexing media and data streams and recording them for later access