title: disable default certificate verification in python 2.7.9
body: <p>I try to make a local HTTPS connection to a XMLRPC api. Since I upgrade to python 2.7.9 that <a href="https://www.python.org/dev/peps/pep-0476/" rel="noreferrer">enable by default certificates verification</a>, I got a CERTIFICATE_VERIFY_FAILED error when I use my API</p>
  
  <pre><code>&gt;&gt;&gt; test=xmlrpclib.ServerProxy('https://admin:bz15h9v9n@localhost:9999/API',verbose=False, use_datetime=True)
  &gt;&gt;&gt; test.list_satellites()
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.7/xmlrpclib.py", line 1233, in __call__
      return self.__send(self.__name, args)
    File "/usr/local/lib/python2.7/xmlrpclib.py", line 1591, in __request
      verbose=self.__verbose
    File "/usr/local/lib/python2.7/xmlrpclib.py", line 1273, in request
      return self.single_request(host, handler, request_body, verbose)
    File "/usr/local/lib/python2.7/xmlrpclib.py", line 1301, in single_request
      self.send_content(h, request_body)
    File "/usr/local/lib/python2.7/xmlrpclib.py", line 1448, in send_content
      connection.endheaders(request_body)
    File "/usr/local/lib/python2.7/httplib.py", line 997, in endheaders
      self._send_output(message_body)
    File "/usr/local/lib/python2.7/httplib.py", line 850, in _send_output
      self.send(msg)
    File "/usr/local/lib/python2.7/httplib.py", line 812, in send
      self.connect()
    File "/usr/local/lib/python2.7/httplib.py", line 1212, in connect
      server_hostname=server_hostname)
    File "/usr/local/lib/python2.7/ssl.py", line 350, in wrap_socket
      _context=self)
    File "/usr/local/lib/python2.7/ssl.py", line 566, in __init__
      self.do_handshake()
    File "/usr/local/lib/python2.7/ssl.py", line 788, in do_handshake
      self._sslobj.do_handshake()
  ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
  &gt;&gt;&gt; import ssl
  &gt;&gt;&gt; ssl._create_default_https_context = ssl._create_unverified_context
  &gt;&gt;&gt; test.list_satellites()
  [{'paired': True, 'serial': '...', 'enabled': True, 'id': 1, 'date_paired': datetime.datetime(2015, 5, 26, 16, 17, 6)}]
  </code></pre>
  
  <p>Does exists a pythonic way to disable default certificate verification in python 2.7.9 ?</p>
  
  <p>I don't realy know if it's good to change "private" global SSL attribute (<code>ssl._create_default_https_context = ssl._create_unverified_context</code>)</p>