incomplete. add lib/shoes/download.rb borrowed from shoes4 and seriously hacked and debugged. Almost works now. Replaces the 'C' download method. Beware that 1.9.3 and 2.x don't act the same if there are errors or when the website sends a compressed file.

Save the half done commit in case something happens.