Add on_msg_delivered trace print.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>