minimal transform stream to parse WebSocket frames in node.js