websockets with the node stream api