Apply chained-certs-2061.patch from hynek.

Refs: #2061

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/ssl-chain-cert-2061@37901 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb