Code for Bitcoin PaymentRequest/Payment/etc messages