TODO: o Check what the proxy should return when it can't get the host addr or can't connect to host. o Figure out why read_line only reads one line and returns NULL for subsequent reads (perhaps this is only true for files?) Done: + Kill client socket after sending stuff. + Add the Host header field to requests from the proxy to the server.