misc: add oplog finite state machine
vc: removed remote parameter from saveRemoteItem
vc: implemented writable stream
auth_request: align code for easier reading
auth_request: check min length of fields
auth_request: remove unnecessary map()
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
vc: run in fork mode (privsep)