xmpp-resolve: smarter SRV search