Implementation of RealtimeWebsocket using Ktor's DefaultClientWebSocketSession.
Whether there are incoming messages that can be received.
Block the current coroutine until the websocket is disconnected.
Disconnect the websocket.
Receive a message from the websocket.
Send a message to the websocket.