- start of some refactoring
- linking socket.io and express sessions
- cleaning up some potential error conditions
todo:
- re-work status updates on client side for unexpected websocket
disconnects while not overwriting ssh server errors un termination
Used [standard](https://github.com/feross/standard) to lint some of the
code.
Cross-platform directory handling (updated references to filesystem
paths to use path.join)