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 '' -d '' -d '' -d '' -d ''  -d '' -d '' -d '' -d '' -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'