Add PyOpenSSL dependency
Fix callbacks