This module implementing XEP-0215 is included with Prosody 0.12 but made available here for older versions.
Documentation is available on the Prosody site.