You have a `.close(code, data)` method here: https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L100 But you don't expose the callback here: https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L121