added handles to calculate requests per second and content length on requests