strip hostname down to the basename (otherwise all the "." become paths in statsd which becomes silly looking); make Hostname exported so we can manipulate it further as a client