Fix capability lists (available vs. active)
Fix IrcMessage::toData()
Fix capability management (keep active caps in sync)