Add web UI support for online/offline network state

Change-Id: I9260f140bf6fc72edd95f09c114ddbf90f60ef61