Use new counter objects in MessageCounters
CounterImpl now extends Number
Handle message timestamp instead of server current time
Formatting
 - convert tabs to spaces
 - remove trailing whitespace