Add a setContentType method and fix readResponse to return entire response

Add a setContentType method and preserve the existing default value
Fix readResponse to return the whole of the response not just the first line
Fix: Once in the httpBody you don't need to keep looking for the blank line