Streamline LastActivity API, add enable/disable

Allow LastActivity to be enabled/disabled. The API is now similar to the
ones of the other Managers. Added unit tests.
Fix Socks5BytestreamManager.determineProxies()

We need to catch XMPPErrorException and *NoResponseException* and
blacklist those entities.