src/irc: RFC and IRCv3 compliance