Remove manual CRYPTO_add calls.

Use X509_chain_up_ref, EVP_PKEY_dup, and newly-added X509_up_ref
instead. Also RAII OpenSSLClientKeyStore.

BUG=none

Review URL: https://codereview.chromium.org/474663002

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289498 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Use data reduction proxy when managed proxy config returns direct

Adds the configured data reduction proxies if any to the proxy info
for a request, if the data reduction proxy is enabled, the data
reduction proxies are not bypassed, and the proxy server returned
by the proxy info if the request is direct.

This change makes it possible for the data reduction proxy to
coexist with managed proxy configurations, instead of being
overwritten by them. The data reduction proxy may be disabled
via managed prefs if this behavior is not desired.

BUG=339237,339258

Review URL: https://codereview.chromium.org/449973002

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix proxy action name.

BUG=398612

The value of proxy action name also changes from K to L release. Fix it.

Review URL: https://codereview.chromium.org/473613002

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c