Add some code for handling HTTP headers and tracking how much data we have received.  Next step will be to close the connection when we've received all (or at least most...) of the response.