extract some http exception handling out of tasks into util. for #216
handlers: pass through rate limited HTTP errors. fixees #216