[client][servers] Update to use the new library connection function.