Add from/to websocket adapters