fixed wsgi files to enable websocket support in debug mode