将http_stream的定义和实现分离.

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