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