Attached is a patch that will add secure IRC support to pico irc. It recognizes the RFC-standard ircs:// format and, if specified, sets a variable "secure" in the object, defaults to the 994 port (if not specified), and uses tls to establish a secure connection.
All a user has to do to make use of secure irc, after this patch, is to specify ircs:// in the URL rather than irc://.
A new command, ::picoirc::tls_status returns the security status of the connection as list of key-value pairs (certificate info) as returned by ::tls::status.
The patch also includes requisite updates to the manual page.
patch that adds secure IRC (TLS/994) support to picoirc