Strip segments off configured URLs
Merge pull request #39 from maetl/uri-host-fix

Strip segments off configured URLs