This library starts a process and communicates with it through JSON
over TCP.  The process must output one JSON message per line.