Set CDN protocol via parameter.