fixed bug of keeping the old payload hash

payload hash of the response header is always equal to the request payload hash - even if the payload of the response is different.