[BUGFIX] Detection of curlProxyServer settings is incorrect