I want to create some kind of xmpp-proxy-server, that checks your JID and redirect all your packets to another server according to it. This is needed for load balancing - I don’t need the ability of any user to chat with any other user, all my users are divided into small isolated groups, and I need a single point of access for all the users.