@OnWebSocketClose
 public void onClose(int statusCode, String reason) {
   capture.add("onClose(%d, %s)", statusCode, capture.q(reason));
 }
 @OnWebSocketConnect
 public void onConnect(Session sess) {
   capture.add("onConnect(%s)", sess);
 }
 @OnWebSocketMessage
 public void onBinary(byte payload[], int offset, int length) {
   capture.add("onBinary([%d],%d,%d)", payload.length, offset, length);
 }