i might refactor x.substring(x.length() - 1) == "/' into an `isAbsoluteUrl()` method somewhere, if guava or apache commons doesn't have one already