Tor plugin should detect connectivity loss
This branch improves the Tor plugin's behavior when connectivity is lost due to the device sleeping or dozing. These connectivity changes don't always generate CONNECTIVITY_CHANGED broadcasts, which can lead us to think we're connected when we're not, or vice versa.
Events from the Tor control port that report guard connections failing are also used as indications that we should check our connectivity status.