RavenDB-2874 add ability to configure how SSL certificate error are handled