install dependencies
new lib/auth_request used as initial auth
new preauth: handle conncetion first line of JSON
fix doc syntax
use npm mongo-bcrypt-user
lib/auth_request: fix doc notation
rename test.json to example.json
ignore config files other than example.json
bin/adduser.js: new tool to add users using bcrypt
lib/preauth.js: strip unnecessary newline
new server2.js: fork preauth listener and verify auth request

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
lib/preauth: listen to first line only (use once)
snap: vc forkable