Added reconnecting websocket

So that UI will auto-reconnect when server temporarily shutdown etc.