Support SSL connections for IRC

This pull request adds support for an "ssl" configuration property. When set to boolean `true`, this property uses SSL for communication over the socket.