auth + tests
cruft
got a minimal working daemon with basic auth and ssl