improve avhttp

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