Allows open-uri redirections between HTTP and HTTPS. Fixes #741
A bit of context on the issue: http://bugs.ruby-lang.org/issues/859
Merge pull request #803 from fmendez/fix-redirect-from-http-to-https

Allows open-uri redirections between HTTP and HTTPS.