NCBC-610: fix bug in SSL refactoring

Change-Id: Ic9532583efe97ac7f2202d8452763e3e4a876356
Reviewed-on: http://review.couchbase.org/41064
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>