Fixes #67 - Follow HTTP redirects.

Follow HTTP redirects.
Add tests.
Fix deprecation warnings (be_true and be_false).