Connection with websocket.
Working version
merged