A javascript mocking library for WebSockets inside and outside the browser.