Using UrlUtils functions
Moving and renaming allowedHost
Changing cache action to use _performProxying with beforeAction closure