Request HTTP compression and obey Content-Disposition if possible

Also modifies OpamFilename.download semantics to allow the ~dst
to be a directory. Fixes OCamlPro/opam#757.