Fixed #2148 by converting zero data w/ EOF into ENOTCONN error
Fixed #2148 by converting zero data w/ EOF into ENOTCONN error

* Refixed https://github.com/couchbase/couchbase-lite-ios/issues/2140 by converting zero data with EOF stream response into ENOTCONN error so that the retry logic could be kicked in.
* Made a speculative fix for #2150 by reverting fa0f92086d9a3a617ee5d4f52153772ae6cbafcc commit.

couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios