add ssl support and use the right name for sending the irc password