code: public NatsConnector addHost(URI uri) {
  		if (!Constants.PROTOCOL.equalsIgnoreCase(uri.getScheme())) {
  			throw new IllegalArgumentException("Invalid protocol in URL: " + uri);
  		}
  		hosts.add(uri);
  		return this;
  	}
docs: Adds a URI to the list of URIs that will be used to connect to a Nats server by the {@link Nats} instance.
  
  @param uri a Nats URI referencing a Nats server.
  @return this connector.