Run all responses through PSOL's rewriter in a blocking manner. While eventually we need to be using the asynchronous rewriting interface, this is a simple proof of concept. In test/expected/test.html you can see the effect of running this code on test/www/test/html
- link in psol
- manipulate the buffer chain to add a 'processed by us' comment
- use chunked encoding to we don't have to update the headers when
we change the length of the request
- use c++ for the module