fix listing nodes, rename get_channel and add get_channel_names, fix shutting down socket, remove length for scn_domain