preserves url paths when redirecting fixes #1
Merge pull request #10 from DominikGuzei/master

Adds support to preserve URL path when redirecting (thanks Dom!)