Add support for capabilities (XEP-0115)