docs: private URI spliceUrl(String resource) throws RestEndpointIOException {
          try {
              return Strings.isNullOrEmpty(baseUrl) ? new URI(resource) : new URI(baseUrl.concat(resource));
          } catch (URISyntaxException e) {
              throw new RestEndpointIOException(
                      "Unable to builder URL with base url '" + baseUrl + "' and resouce '" + resource + "'", e);
          }
      }