network is only available if CONNECTED (not CONNECTING...)
just sign-in if called, don't worry about network state
re-order SSLContext setup; use Connect Server for Service Name
the hostname verification of SSL goes against the "Service Name"
so if the user manually specifies it, we should use that as the argument
to the ConnectionConfiguration
don't use .onion as hostname for verification
any XMPP site using a CA cert, uses their non .onion address cert it seems
for now, don't use it unless it is set as the @domain hostname
more tuning of network state change handling
update to latest MTM
forgot to init mTrustManager instance
MemTrustMgr needs to be accessible from activity and service
for UI display popup to work, we must bind an active activity
move to a thread, not asynctask for sign-in
clean-up imports
clean-up BOOT_COMPLETED handler code
Merge pull request #499 from n8fr8/master

additional network and trust related fixes