Proxy stdio to child process

Support for command-line debugging (eg: `nodemon --exec 'node debug'`).
Ensures that escape codes get sent to the child process first.