Update portal and WSGI interaction.
Implement the experimental WSGI dispatching mechanism.