replace socat with txsocksx client; requires txsocksx from devel git
slight refactoring to prepare for handling of errors in children