Implementation of UrlBuilder and UrlBuilderFactory.