Implements XEP-0280 (message carbons).