WebSocketTransport
interface WebSocketTransport
Abstraction over the raw WebSocket connection used to talk to the browser.
Extracting this lets DefaultConnection's message plumbing (request/response correlation, event dispatch) be exercised without a real browser, by injecting a fake transport in tests.