Add support for XEP-0317: Hats
6.3.0