TODO: POST, cookies, "flushing", finalizing config framework (it works), http auth, PHP Hooks (apache_sub_req is there). Note that this code depends on some other commits which are pending.