Batch all StatCounter stats into one datagram in flush().