Hook to be called with the body of every new request

I have not been able to find any extensibility point to the codec to be able to read the body of every new request. I have implemented this logic which fulfills our needs.

Feel free to close this pull request if you don't find it useful, or provide some guidelines if the fic can be improved in any way.