API to manage clsync instances through control sockets