add http strerror on curl

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