Removed direct access to the HTTP request via the context. Added support
for HTTP response hooks.