Pass the master socket number to the impurity helper as an argument instead of hard-coding 3
D'oh
Instead of writing argc to the impure command socket, just close the write side to indicate arguments being done
Explicitly indicate normal exits instead of relying on EOF