Add IrcProtocol::setActive/Connected/Nick

Expose the correspondent IrcSessionPrivate methods to IrcProtocol, so
that the protocol implementation has full control over the session state.