Change link re-writer for CDN to override protocol