Add around message hook support

Added code to allow callbacks wrapped around message execution.