add cross-domain query support (same as was added for spawn/minion)