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

we probably don't need all this stuff.