pkg/proxy: filtering before comparing

Proxy should not be updated if the only difference is an invalid endpoint.