Add hook es-response-functions

This adds the hook es-response-functions, which is run with the response body on 2xx requests.