Rationalise and simplify the share diff and block solve detection to a common site.
Avoid curl_easy_cleanup on old curl versions in setup_stratum_curl as well.
Merge remote-tracking branch 'source/master'
optimizer the auto build scripts

Signed-off-by: zhifeng <zf@ancientrocklab.com>