Javascript WebSOcket mocking library