Host name is nil during healthcheck?

Is there something clearly missing in setting up services, routes, upstreams and targets that causes the ping to use a host name = to nil?

From my understanding of the setup is that the Healthcheck during active probing of unhealthy targets would use the host name of the service.

Below are the admin calls used

curl -i -X POST \
  --url http://localhost:8001/services/ \
  --data 'name=nearby-service' \
  --data 'url=http://localhost:2000'

    curl -i -X POST \
  --url http://localhost:8001/services/nearby-service/routes \
  --data 'hosts[]=localhost'

  curl -i -X POST localhost:8001/upstreams -d 'name=localhost' -d 'slots=1000' -d 'healthchecks.active.timeout=5' -d 'healthchecks.active.concurrency=2' -d 'healthchecks.active.http_path=/api/v1/nearby/ping' -d 'healthchecks.active.healthy.interval=0' -d 'healthchecks.active.healthy.successes=5'  -d 'healthchecks.active.unhealthy.interval=30' -d 'healthchecks.active.unhealthy.tcp_failures=2' -d 'healthchecks.active.unhealthy.timeouts=2' -d 'healthchecks.active.unhealthy.http_failures=2' -d 'healthchecks.passive.healthy.successes=2' -d 'healthchecks.passive.unhealthy.tcp_failures=2' -d 'healthchecks.passive.unhealthy.timeouts=2' -d 'healthchecks.passive.unhealthy.http_failures=2'

  curl -i -X POST \
  --url http://localhost:8001/upstreams/localhost/targets/ \
  --data 'target=localhost:2000'