talk_to_socket: split arguments in packet with \0