vc: run in fork mode (privsep)
new preauth: handle connection first line of JSON
new server2.js: fork preauth and verify auth req

copy config/example.json to config/test.json

start server with sudo ./server2.js

test with something like:
echo '{ "username": "youruser", \\
"password": "yourpass", "database": "test", \\
"collection": "foo" }' | nc -w 5 127.0.0.1 8182
snap: modular server + versioned_system