Reset data from previous response for new request

If I did multiple getreq() calls on the same response I was getting errors.
Investigation revealed that the previous response was being cached, so I've reset data_len in reset_per_request_attributes().
It works OK for me now.