allow override of packet payload

This allows you to change the payload on authorizePublish()