Add 'connection_utils': Utilities for connection init

Change-Id: I3ef2278cc0de18c050cf9acddfba2af04f40d676
Reviewed-on: http://review.couchbase.org/31819
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>