Allocating a connection structure

An application calls ct_con_alloc to allocate a connection structure.