Rotary drum furnaces with counter-current flows of waste and gas