ssl.PROTOCOL_SSLv2 missing from debian stable
added graceful handling