Fix web socket connect from client