UrlRewriter does not trim urls
https://github.com/esigate/esigate/issues/83