code: private List<ServerAddress> getServerAddressList(List<String> addressStringList) throws UnknownHostException {
  
          List<ServerAddress> addressList = new ArrayList<>();
  
          for (String addressString : addressStringList) {
              addressList.add(new ServerAddress(addressString));
          }
          return addressList;
      }
docs: Gets server address list.
  
  @param addressStringList the address string list
  @return the server address list
  @throws UnknownHostException the unknown host exception