emit the irc/connect event as first thing, to allow module some changes
ssl error fix