ctdb-daemon: Move switch_from_server_to_client() to ctdb_daemon.c