Delegate the proxy if the user certificate is expiring and the trusted r...

...etriever list has changed. Fixex #4039