Revert 290320 "Refactor pooling logic into a helper method"

Leaks (see bug).

Actually reverting the re-land this time.

BUG=404833

> Refactor pooling logic into a helper method
> Disable pooling when there are cert errors.
> Disable pooling when pinning does not match for the new host.
> 
> BUG=398925
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289433
> 
> Review URL: https://codereview.chromium.org/425803014

TBR=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290386 0039d316-1c4b-4281-b951-d872f2087c98
17 files changed