Working on WSGI middleware example