Url -> URL
First stab at downloading torrents.

I'm quite unhappy with the current state of affairs. It is brittle and
convoluted. Some thought need to go into the type definitions and the
tests need to be better.
Adds sketch on remaining work.