improve/fix irc protocol parser