Using redirects on Chromecast breaks certificate verification