client: fixed the irc client connection issue