fixed redirect: new Url contains host and port!
Merge pull request #7 from slintes/redirectbug

fixed redirect: new Url contains host and port