DDP Client for browsers and native JS runtimes (no dependencies on document or 3rd party WebSocket libraries)