plugins/irc: use ISSLTransport to determine whether the connection is secure