full Python 3.3 API for socket/ssl module