Fixed acceptance of self-signed certs in .local, in Mac build
Fixed acceptance of self-signed certs in .local, in Mac build

Turns out the hostname-mismatch error is reported differently on Mac
than on iOS, so I had to add some code to detect it.

gotmyjobs/couchbase-lite-ios,tomco/couchbase-lite-ios,amco/couchbase-lite-ios,lordkev/couchbase-lite-ios,pegli/couchbase-lite-ios,alfared/couchbase-lite-ios,amco/couchbase-lite-ios,gotmyjobs/couchbase-lite-ios,pellekrogholt/couchbase-lite-ios,tomco/couchbase-lite-ios,lordkev/couchbase-lite-ios,alfared/couchbase-lite-ios,amco/couchbase-lite-ios,gotmyjobs/couchbase-lite-ios,amco/couchbase-lite-ios,couchbase/couchbase-lite-ios,gotmyjobs/couchbase-lite-ios,pegli/couchbase-lite-ios,brendand/couchbase-lite-ios,brendand/couchbase-lite-ios,pellekrogholt/couchbase-lite-ios,ipmobiletech/couchbase-lite-ios,brendand/couchbase-lite-ios,pegli/couchbase-lite-ios,pellekrogholt/couchbase-lite-ios,brendand/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,lordkev/couchbase-lite-ios,alfared/couchbase-lite-ios,ipmobiletech/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,amco/couchbase-lite-ios,tomco/couchbase-lite-ios,pellekrogholt/couchbase-lite-ios,couchbase/couchbase-lite-ios,ipmobiletech/couchbase-lite-ios,amco/couchbase-lite-ios,pegli/couchbase-lite-ios,alfared/couchbase-lite-ios,amco/couchbase-lite-ios,brendand/couchbase-lite-ios,ipmobiletech/couchbase-lite-ios,tomco/couchbase-lite-ios,lordkev/couchbase-lite-ios