Fix for httpsession timing calculation in case of lost packets