add BufferingClient which buffers stats and sends them out in batches