Request delivery receipts.

The ack request is currently on just the first message in a
sequence, but this may be adjusted.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Implement on_cancel and on_cancel_request callbacks.

The events are currently just stubs.

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