do not log content size when chunked encoding is used since it is not really known
use c++ 11 mode of compiler if supported for better optimization
update http redirect code, use 307 instead of 302 for temporary redirects