Add an HTTP request handler wrapper