Ah sorry, I misread and thought solonovamax's comment was an original question. My example showed how to make a WS server with Netty, but it seems like you want to make a client?
I'm not sure what exactly you're trying to do, because you already seem to have a client, but it seems like I was able to help anyway, so 👍 . If you need any more help, you can try adding some clarification.