Add hashing of req.body, bereq.body and resp.body to .update()
.update() can now hash all bodies except beresp.body. The msg argument is now optional in order to allow hashing of a body only.
The last commit is the actual change, the others are are the outcome of backtracking on other details:
- Rename the blob argument of .update() to msg
- Rename ERR macros to FAIL and bring ERR back with a fail argument to decide if VCL should be failed
- Add a fail argument to .update() to optionally get custom handling of failures
Once this is done, we should make similar changes to the other functions to add hashing of bodies, too.