python: Start rewriting WSGI handlers with modular handling models.