Improvements to WSGI example

Just the code, server stuff also needs attention