Update for connection status indicator

TODO:
 - [x] make it green\red for on\off
 - [x] Investigate why red does not become green automatically: as WebSockets do not support auto-reconnect by default.