WIP: refactor into stream interface
rename us to _; rename PROMOTED to AUTHENTICATED
static variable instead of function for certificates; other tweaks
ignore errors from connection for now
use logmagic; fix some bugs introduced in previous commits
bump version from 0.0.1 to 0.0.2
jshint
wsp fixes
namings
log from state as well in Connection
dep versions
Merge pull request #2 from virgo-agent-toolkit/refactor_stream

WIP: refactor into stream interface