added tsocks formula from adamv's comment on a bug report about
adamv/alt going