add struct irc_info, still has error
fix a bug in serv_connect(),thx to LiuYan
optimize serv_connect()