Fixed rewrite bug
Fixed memory leaks in rewrite
Fixed crash due to rewrite setting "destination"
Fix wrong call to sizeof() instead of strlen()
Fixed exceptionMessage rewrite setting
Fixed missing "headers" rewrite setting
Fixed "pathinfo" rewrite setting