websocket: document `ws` require