Ensure we return NULL on failure in x509_proxy_read(). #3563
Fix memory leaks in x509_proxy_email().