Using WebSocket client: 9.2.14.v20151106
I see the cookies returned from the cookieStore is sent twice.
By debugging, in WebSocketClient.connect(Object websocket, URI toUri), there is a call to:
And then it calls: connect(Object websocket, URI toUri, ClientUpgradeRequest request, UpgradeListener upgradeListener)
which again calls:
and the implementation of ClientUpgradeRequest.setCookiesFrom() is to add the cookies returned.