This is not specific to authentication, and allows plugins greater flexibility in what events they are interested in. It also adds message handling, and $CONTROL handling.
Thanks to Ibrahim Koujar. Bug: https://github.com/eclipse/mosquitto/issues/1016