add keep-alive flag

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

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