better node.js <-> jeebus ipc logic

avoids the spurious pid sent to stdin when not launched from node.js,
also moves the init code to http.go iso all.go