[OSJC-96] Allow users to provide callback to allow/deny SSL certificate