If we have gnutls loaded, then try to use that for the tls stream.