code: public static UrlBuilder getUrlBuilder(final URL baseUrl) {
  		URL url = null;
  		try {			
  			url = new URL(decode(requireNonNull(baseUrl).toString(), defaultCharset().name()));
  		} catch (MalformedURLException | UnsupportedEncodingException e) {
  			throw new IllegalArgumentException(new StringBuilder("Cannot create a URI from the provided URL: ")
  					.append(baseUrl != null ? baseUrl.toString() : "null").toString(), e);
  		}
  		return new UrlBuilder(url);
  	}
docs: Convenient factory method that creates a new instance of this class.
  @param baseUrl - base URL that will be used to create new URLs
  @return A new instance of this class, allowing callers to use the methods of this class to create new URLs
  from the base URL provided as argument.