Add a method to Request to synthesize the WSGI environment.