Server: enable stats

All stats config is done via env vars. Still need to document those,
but it should be working.