a fix for building with httpd 2.4
better use of 2.4 APIs
document some todos