WebSocket-based instant communication framework