CDN: Fix for // urls and check itself moved to function isRemote