Added connection status indicators

For debugging purposes for now. Of course there should be some proper
handling of disconnects.