OpenURI patch to allow all redirections between HTTP and HTTPs inside the block