Adjust the STOMP client to allow registering both an
onMessage and an onReceipt callback before actually
sending the subscription.  Use in tests.