irc: implement support for DANE

Use gnutls-dane to check DANE TLSA records on SSL connections.

Performs a check of the cached TLSA data when verifying the
certificate.