choose the websocket protocol by default