Adds nodejs websocket back in
Fixed encode, simplifies decode, adds more test
travisplexer: pr-490-osx travis ci test