ctdb-tests: Add sock_daemon test for stale socket handling