I get the same error. I did have categories.txt that had been installed with LDPE, so I copied and renamed that file and now DATHeader is happy.
However, it also keeps asking for primitivescale.txt, and feeds the same connection error when I try to download that.
However, it also keeps asking for primitivescale.txt, and feeds the same connection error when I try to download that.