Only accept headers when reading from STDIN