Updates sensors and curl commands to use localhost instead of getHostname() (required for Docker)
This closes #149