Use 3.4's ssl.create_default_context when available

Related #472 
I suppose, I saw @dstufft wrote a cipher list in an earlier comment so I
assumed it was a curated list.


--
Kevin Burke
phone: 925.271.7005 | twentymilliseconds.com

On Fri, Oct 24, 2014 at 8:24 AM, Ian Cordasco <notifications@github.com>
wrote:

> In urllib3/util/ssl_.py:
>
> >      from ssl import HAS_SNI  # Has SNI?
> >  except ImportError:
> >      pass
> >
> >
> > +try:
> > +    from ssl import OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_COMPRESSION
> > +except ImportError:
> > +    OP_NO_SSLv2, OP_NO_SSLv3 = 0x1000000, 0x2000000
> > +    OP_NO_COMPRESSION = 0x20000
> > +
> > +try:
> > +    from ssl import _DEFAULT_CIPHERS
> > +except ImportError:
> > +    _DEFAULT_CIPHERS = (
>
> They're chosen directly from the stdlib. Is that not clear from it's
> definition in the event it cannot be imported?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/shazow/urllib3/pull/473/files#r19345195>.
>