Allow to use env vars for connecting to statsd

@kierenbeckett