WebSocket and methods for real-time data streaming