Adding support for optional OCSP checking of certificate. Adding local ocsp cache dir.