RavenDB-2874 add ability to configure how SSL certificate errors are hand...

...led