a clone of  https://github.com/joyent/node/deps/openssl