add support for setting number of packets after which to reset the loss % calculation