Complete issue #116
Complete issue #116

Port
https://github.com/couchbase/couchbase-lite-java-core/commit/4b063f13a78
c461ac5e8dfa57f6bed4563eebabd

JiboStore/couchbase-lite-net,couchbase/couchbase-lite-net,z000z/couchbase-lite-net,couchbase/couchbase-lite-net,z000z/couchbase-lite-net,brettharrisonzya/couchbase-lite-net,brettharrisonzya/couchbase-lite-net,couchbase/couchbase-lite-net,mpapp/couchbase-lite-net,JiboStore/couchbase-lite-net,mpapp/couchbase-lite-net