IrcNetwork: add hasCapability() & isCapable() for convenience