adds functionality that disallows anonymous users from sending data to other XMPP domains than the local domain.
This functionality is failing for subscription request (which, when sent from an anonymous session, do end up at remote domains).