Improve WSGI middleware support. Can have arguments specified. Can be
specified as object rather than strings.