Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org>
urllib.request.urlopen now take optional arguments to allow for server certificate checking, as recommended in public uses of HTTPS.