coreserver: Add stats printing

Signed-off-by: Michael Buesch <m@bues.ch>