code: @Nullable
    public static InetSocketAddress parseInetSocketAddress(String address) throws IOException {
      if (address == null) {
        return null;
      }
      String[] strArr = address.split(":");
      if (strArr.length != 2) {
        throw new IOException("Invalid InetSocketAddress " + address);
      }
      return new InetSocketAddress(strArr[0], Integer.parseInt(strArr[1]));
    }
docs: Parses {@link InetSocketAddress} from a String.
  
  @param address socket address to parse
  @return InetSocketAddress of the String