Pulling in v0.21 and passing $request to handle_request

Initially a pull request based on v0.21. Added functionality for passing $request to the handle_request method. This is due to my work with an HTML templating engine that does internal forking for long-running page requests. In order to serve this over FCGI I need the original $request object to Detach/Attach as appropriate. This lets me do so in the handle_request method.