A enhancement of the Websocket api for Node (einaros/ws) and the browser.