Background
Currently it is not possible to use the web socket for queries from the Java client API. This functionality needs to be added.
Description
To be able to use the web socket for queries from the the Java client API.
Analysis
The Java code is already there as scripts/utility/webSocketQuery.sh makes use of the existing code. Therefore, update the Java client to make use of it.