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

We use expect everywhere else in the code, let's try to be consistent and use it here as well.