first draft, copied and modified from draft-miller-xmpp-posh-prooftype