need to ask the BE team but i would assume the new API server had better handle both HTTP and HTTPS and we stick to our SDK defined scheme.

ya just parse the apidomain out. that would be better.