Advanced aspects of thermal treatment of solid wastes: From a flue gas to a fuel gas technology?