Added support for CAP and IRCv3 capabilities extension.