Improved compareTo method on ProxyConfiguration