obfsproxy should use a SOCKS proxy if Tor wants it to

This is the obfsproxy side of #8402 (moved).

hellais prepared a patch for obfsproxy that can be found here: https://github.com/hellais/obfsproxy/commits/socks_client