add http_version option, improve avhttp option

Signed-off-by: Jack <jack.wgm@gmail.com>