Add support for handling HTTP redirects.
Fix deprecation warnings.
Add tests.
Temp: update httpi location