Fix #296: TypeError when using recent versions of PyOpenSSL