NXP-13117: Use protocol set in proxy settings for proxy test URL + only test URL if a proxy is actually set