Add PreRegister hook

This is useful for CAP commands and SASL.
Interpret format codes passed to meta:send() literally if there are no format arguments
Add OnSend hook
Send mode options to the OnModeChange hook