Apply pending WSGI 2 changes from PEP-3333

See https://mail.python.org/pipermail/web-sig/2010-September/004655.html for
source information.

Closes: https://github.com/python-web-sig/wsgi-ng/issues/3