Add redirect support from upstream
woops commas
Merge pull request #11 from github/redirect-support

Add redirect support