can connect to web socket