Update websocket client for Java