Vunder changes!

Fix request logging when behind a proxy.
Add req and res header loggin in trace mode.
Add support for onParse hook in parser so apps can tweak the dom at parse time.