netload_in (download): fix, site uses Recaptcha now

Also simplify code, reuse variables when reasonable and
obviate SIG_PIPE errors
Merge branch 'upstream/master' into ubuntu/trusty
New upstream changes