Could it be that SNI was recently enabled on api.twitter.com ? If so, that is a bummer for python 2.x client applications that rely on the python library runtime to connect through SSL because it does not support it.
i.e., I see this on https://api.twitter.com/1.1/friendships/lookup.json:
File “/usr/lib/python2.7/httplib.py”, line 1176, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File “/usr/lib/python2.7/ssl.py”, line 440, in wrap_socket
File “/usr/lib/python2.7/ssl.py”, line 200, in init
File “/usr/lib/python2.7/ssl.py”, line 362, in do_handshake
SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol