Fix LOAD_IGNORE_CERT_* on Mac
Fix LOAD_IGNORE_CERT_* on Mac

SSLClientSocketMac reports certificate error before SSL handshake is completed,
so just returning OK for LOAD_IGNORE_CERT_* won't work (completed_handshake_ is false yet, so we can't Read()/Write() on the socket).

Add the cert in allowed_bad_certs, and reconnect again.

BUG=35108
TEST=none

Review URL: http://codereview.chromium.org/593013

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

Former-commit-id: 640bfe923d98f9564f5dcb0537504b55804fe382
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser