websocket added, prepare for connect 3