Move OPENSSL_free to crypto.py as per @alex
Remove typedef'd callbacks and just include the callback definitions in the larger function definitions