Adds a listener called when the RECEIPT frame of the given receipt-id
- is received.
- You can register any number of listeners as long as
receipt- specifies the receipt. It must match the receipt header
- of the frame sent to the server.
void receipt(String receipt, void onReceipt(String receipt));