Adding redirect support.
Merge pull request #15 from digitalBush/redirect

Adding redirect support.