Using nc (netcat) to make an HTTP request

My attempts to send an HTTP GET request via netcat (nc) were failing, with 400 Bad Request errors returned by the server. I discovered that I could get a successful 200 OK response if I specified HTTP/1.0 instead of HTTP/1.1, or if I included the Host header in my HTTP request using HTTP/1.1.