Use BIO_new_socket() as opposed to BIO_new_fd()
Use BIO_new_socket() as opposed to BIO_new_fd()

BIO_new_fd() returns a file descriptor BIO.
BIO_new_socket() returns a socket BIO.

As we are connecting to a socket not a file we
should use BIO_new_socket().

Change-Id: I9d96a35b0d6797eeaa2314bdc9dc4375a31f9e95
Reviewed-on: http://review.couchbase.org/55553
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>

daverigby/memcached,daverigby/memcached,owendCB/memcached,daverigby/memcached,daverigby/kv_engine,owendCB/memcached,couchbase/memcached,couchbase/memcached,owendCB/memcached,daverigby/memcached,couchbase/memcached,couchbase/memcached,owendCB/memcached,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine