Remote control
First version working ok on MacOs

Lots of fixes to the pipe handling and buffering. Command string sent
across the socket. Ensuring child process is killed...