move curl share to each client

Signed-off-by: xiehuc <xiehuc@gmail.com>
add max redirs

Signed-off-by: xiehuc <xiehuc@gmail.com>