follow up to a specified number of redirects
add tests for redirect control
Merge pull request #37 from ryansb/feature/redirectControl

Feature/redirect control
fix spelling of "throw"
improve perf by using type-switch instead of attempting a bunch of casts
Merge pull request #40 from ryansb/ifToSwitch

Improve perf by using type-switch instead of attempting a bunch of casts
Merge pull request #39 from ryansb/fix/spelling

fix spelling of "throw" in tests