Update ClientFrontend to use nanotime for calculating timeouts.
Use nanoseconds for calculating elapsed time rather than milliseconds in StatsSupport.