Begin websocket to Java server.