support encoded headers