Patch open_uri to allow redirects to https://