Use stats_server in place of hard-coded hostname