Add a state for each pipe handle in the server. Create a socket on when the pipe is opened, not before.
Attach a file by drag & drop or click to upload