update engine to match code in https://github.com/pyca/cryptography
add compile.sh (tweak as needed to build it on your platform)

compile.sh is set up for OS X using brewed openssl right now