Adding a hook to the codec with the body of every new request