added other websocket apis to npm module