Make CDN calls protocol independent