If you're on Linux you can probably use proxychains.