Add a fallback when WebSocket is not available server side