Fix XMPPSRVEnumerator by rewriting almost all of it.