try mediaProtocol set to the API request protocol,
if fails - fallback to http.
Uplynk should be enabled.
Use media protocol if given,
if fails - fallback to default.
Merge pull request #1319 from kaltura/IX-9.17.0-url-managers

Some compat-check fixes.