fix closeApp on chromecast (DIAL)

almost as sams as https://github.com/ConnectSDK/Connect-SDK-iOS/pull/77 but added an explicit check for http:// and https://