Added internal redirect support
Merge pull request #7 from innovationfactory/swift-internal-redirect

Added internal redirect support