improve sync proxy on https

Signed-off-by: Jack <jack.wgm@gmail.com>
improve async_connect with http/https

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