Add etag handling to test-util/getloop.sh, take 1