Switch to std::string::compare() from substr() in a couple of places
m_ssl_gnutls Don't include cap.h

The tls cap is handled by m_starttls