Handles an accepted websocket session after the host upgrade completes.
typedef WebSocketHandler = FutureOr<void> Function(ws.WebSocket socket);