cbsasl: Rename global openssl symbols to be prefixed with cbsasl

This caused symbol collision with openssl

Change-Id: I605b18afa5091568ef930638e154806239213370
lcbio_CTX: Don't write empty ringbuffer IOV

Change-Id: I4446f8f6577d98d9b04e26e8184f0ece4c3bf518
UV: proper EOF handling/delivering

Applications should be delivered an EOF via passing '0' as a parameter
to the read callback, rather than -1 (which indicates an error). A
graceful close is necessary in some protocols to help promptly deliver
ifnormation.

Change-Id: Ic981505d6d06d8caf5ba07c06e9ef972f51cdf2e
UV: return from read callback if nr is 0

While we usually shouldn't be getting this, it may be possible - in any
event this is UV's way of telling us that it got an EAGAIN and the
buffer we allocated is no longer needed.

Change-Id: Ie99f16b593af203e4eb0a01b4129d64a56429412
Initial SSL commit (WIP)

This commits the basic SSL functionality needed for the library.

Change-Id: I599bb6a883263e1889c2a87ae423684cd209d1e7
Refactor and fork vbucket

- Rewrite vbucket.c to be cleaner
- Add simple unit test
- Move header files into <libcouchbase/*>
- Mode source files into src/
- Add support for SSL ports (as of 3.0.0-367)

Change-Id: I277ef1e540556fd6c88fe00c09d1fc0709439f9b
Add additional set_nodes/get_nodes functions

These functions will allow to configure a provider with a specific list
of nodes, and retrieve the current node list.

Change-Id: Iba94fe73a8b4328039f1fcdf8fcd31ad20019fd8
Core settings integration for SSL

- Support for adding SSL options via lcb_cntl()
- Add SSL-related fields to lcb_settings
- Add (currently undocumented) LCB_FORCE_SSL environment variable to
  test behavior
- Add SSL 'protocol context' to lcbio

Change-Id: I0ea47e3ab824156e9456391aa60f5f5867086f61