The existing example which demonstrates the proton::engine functionality is a broker. To better demonstrate the disassociation between the connection and the container, I think there should be an example using memory streams.
The example would look like:
1) Create some data
2) Encode the data using the engine
3) Place the result into a memory buffer
4) Decode the data from the buffer using a different engine instance
5) Display the data