code: public HttpUrl url(String path) {
      return new HttpUrl.Builder()
          .scheme(sslSocketFactory != null ? "https" : "http")
          .host(getHostName())
          .port(getPort())
          .build()
          .resolve(path);
    }
docs: Returns a URL for connecting to this server.
  
  @param path the request path, such as "/".