I don't think so. When data.len == 0 there is no allocation storage. The pointer pointing to the array is nil. A seq is just 3 values (len, ptr and cap). When len = 0 its just (0, 0, 0) everywhere.
You will be just sending it: socket.send(nil, 0) Run