Fix default asset_host and url protocol handling.