add h.force_stream to responde quicker
add x-pw-ori-len header control for gzip chunked
p.doc_type will not set text/html
refactor out write_buf, enable char convert