bunch of changes to the APIs of Httpd