sanity
refactored local-https-server into a class
make local https server a little more generic
lots of promise learning