new _create_cconn() utility function