Use a more reliable way to detect if services are running in anoperc
Fix m_ssl_gnutls to send its cert. Most of this is from Attila.