be conform to the new API

the get_async() callback needs now to return an integer to indicate
if the caller wants to proced with the download, or desires it to be aborted