* irc_net: added is_ssl, get_plain_protocol and get_ssl_protocol functions