More detailed connection status; add SOCKS tests.