improve http header read.

Signed-off-by: Jack <jack.wgm@gmail.com>
Merge branch 'master' of github.com:avplayer/avhttp