jichen's personal work for libcurl update