http_post now ptype param is optional.
http_read_buffer_eof fixed logic for read chunks.