KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a lot of compatibility with mIRC for general use.
If you want to connect to an IRC server via SSL, you will need to install the recommended package libio-socket-ssl-perl.
This package is part of KDE, as a component of the KDE network module. See the 'kde' and 'kdenetwork' packages for more information.