add trackLatency to client connection
add latency stats (needs configuration)