writing to Node.js using pipes and system calls ended up being too intensive and slow. this is an attempt to communicate over a tcp port.