Merge pull request #1 from pfraze/dominictarr-networking

removed old api code and combined old server with new server
use mkdirp
reverse order of options so we only need one
work with the new api
fix test/follow, fix auth(), add client.close()