Another refactor of messaging.

This brings the terminology closer to JMS, and strives to reduce the
number of connections created by using a shared, long-lived connection
unless a new connection is explicitly requested.
Expose session acknowledge, commit, and rollback.