class WebSocketClient extends org.java_websocket.client.WebSocketClient {

    @Override
    public void onClose(int code, String reason, boolean remote) {
        log.info("Closed WebSocket connection to {}, because of reason: '{}'."
                + "Conection closed remotely: {}", uri, reason, remote);
        listener.onClose();
    }

    public  WebSocketClient(URI serverUri);
    public  WebSocketClient(URI serverUri, Map<String,String> httpHeaders);

}