Here is a backport of the patch that added SNI support to Python 3.2, but for Python 2.X.
The upstream patch: http://hg.python.org/cpython/rev/846c0e1342d0/
But it works with my SNI certificate, so I can use my own PyPI server through SSL now I switched to pip 1.3.
Backport TLS SNI support from Python 3.2
I don't think this is really suitable for pip, I don't want to add a C extension.
You might want to see if https://github.com/pypa/ssl is interested in providing this and extending their coverage to replace stdlib ssl in 2.6 and 2.7.