Add support for custom port in cdn_host