public void exchangeEvent(final HttpServerExchange exchange, final NextListener nextListener) {
StreamConnection clientChannel = null;
final HttpServerConnection connection = (HttpServerConnection) exchange.getConnection();
try {
clientChannel = result.getConnection().performUpgrade();
connection.resetChannel();
StreamConnection streamConnection = connection.getChannel();
if (connection.getExtraBytes() != null) {
streamConnection.getSourceChannel().setConduit(new ReadDataStreamSourceConduit(streamConnection.getSourceChannel().getConduit(), connection));
}