Split response into headers and body based on the size of the headers cURL reports.

Fixes an issue with 100 Continue status codes, etc. where r\n\r\n appears within the list of headers.