Dispatcher for WSGI application.