Added support for XEP-0012
Merge pull request #12 from n-gorbunov/master

Added support for XEP-0012