docs: private URI createURI(String uri) {
  		URI uriV = null;
  		try {
  			// Try to see if we can create the URI, considering it's encoded.
  			uriV = new URI(uri, true);
  		} catch (URIException e) {
  			// An error occurred, so try to create the URI considering it's not encoded.
  			try {
  				log.debug("Second try...");
  				uriV = new URI(uri, false);
  			} catch (Exception ex) {
  				log.error("Error while converting to uri: " + uri, ex);
  				return null;
  			}
  			// A non URIException occurred, so just ignore the URI
  		} catch (Exception e) {
  			log.error("Error while converting to uri: " + uri, e);
  			return null;
  		}
  		return uriV;
  	}