Merge pull request #642 from reaperhulk/x509-get-default-cert-dir

Bind more x509.h functions for OpenSSL