socket.closeSocket();
throw new IOException();
}
AtmosphereRequest r = AtmosphereRequest.wrap(socket.getServletRequest());
webSocket = new JBossWebSocket(socket, config);
webSocketProcessor.open(webSocket, r, AtmosphereResponse.newInstance(config, r, webSocket));
}