Add IRCv3.1 compliance

This adds basic support for CAP, SASL, account-notify, and extended-join.