Change hard-coded SSL protocol version for Python 2.6 to TLSv1.

The compatibility advantage of SSLv3 was always small, and it's probably
better to use TLSv1 than SSLv3 now.

Closes #911.