Fixes to asset manager in the MASTER branch
Merge pull request #4513 from gamechefs/dcurlfix

closed #3534: Fixes to asset manager to ensure there is no crash on DNS resolver as well as no hanging if connection breaks during download