Add custom options before downloading

Allow to inject additional options that will be used to perform the download
Added option to get the adapter name

Close #412