websocket address based on the protocol