Merge pull request #1 from avplayer/master

修正一些bugs
fixed missing \r\n on http_header()

Signed-off-by: Jack <jack.wgm@gmail.com>
Merge branch 'avp'