Test code for WSGI with Twisted instead of wsgiref