Example code for using qpid-proton.