abstracted url-quoted requests with retries on certain errors