Fix bug with relative path requests

See my comment to this issue: https://github.com/jpillora/xdomain/issues/40#issuecomment-35456986 (it describes the problem)