Improved IsValidProxyConfiguration method to check also exclusion list