fork of tpcat from EFF and beyond