@Deprecated(forRemoval = true)
  @NotNull
  public static String getHostFromUrl(@NotNull String url) {
    String path = removeProtocolPrefix(url).replace(':', '/');
    int index = path.indexOf('/');
    if (index == -1) {
      return path;
    }
    else {
      return path.substring(0, index);
    }
  }
@Deprecated(forRemoval = true)
  @NotNull
  public static String getHostFromUrl(@NotNull String url)