added unit tests.  added reconnect on nonexistent token.
Merge branch 'master' of github.com:wiggzz/downstream-farmer