wip - adding newly created httpRequestHandler middleware to the plugin