Add a setContentType method
Fix readResponse to return the whole of the response not just the first line
One in the httpBody you don't need to keep looking for the blank line