WIP - added a middleware to dump all requests info into the stdout

I copy pasted the functional test and then try to remove each one. that seems to be the minimal set to have it working