fixed NPE in WebSocketResponse.java