code: @SuppressWarnings("deprecation")
  	ServerConfig buildServerConfig() {
  		vallidateServerConfig();
  		final int serverPort = SimpleOptional.ofNullable(port).orElse(transportStrategy.getDefaultServerPort());
  		return new ServerConfigImpl(assumeNonNull(getHost()), serverPort, getUsername(), getPassword());
  	}
docs: For internal use.