Bash script to make HTTP/1.1 GET requests and record the response