websocket feature based on org.java_websocket