irc: clear the gnutls session in all cases after SSL connection error