Fixing some minor defects in the statistics handler a) debug output removed b) proper DNS name in the daemon ip field