client: allow "host:port" endpoint