Fix netty integration