[tor-commits] [torsocks/master] Fix: cleanup configure.ac and add missing headers/functions