test stats information
TestResponseHeaderTimeout
TestResponseTimeout
fix bugs in stats, tests and add TestSafeRetry