TODO
> specify the image name as option
> specify the mime-type as option
> produce some stats
> save html code for offline browsing (substitute absolute links with relative ones)
> checksum verification for Metalink downloads
> resume download
> FTP support
