- general cleanup
- support for content-encoding / compressed files
- nuke all TSRMLS_FETCH() calls where possible