progress callback function now can receive right value from libcurl callback.