Propagate connection status to the web page.