Added basic support for SSL when using IRC

I've added basic support for connecting to an IRC server with SSL. Nothing fancy but it works.