Twisted integration

Use Twisted for downloading instead of threaded stuff (and only accept torproject.org's certificate).