code: protected function createResponseObject($response)
  	{
  		$info = curl_getinfo($this->ch);
  
  		$headerSize = curl_getinfo($this->ch, CURLINFO_HEADER_SIZE);
  		$headerText = substr($response, 0, $headerSize);
  		$headers = $this->headerToArray($headerText);
  
  		$body = substr($response, $headerSize);
  
  		$class = $this->responseClass;
  		$obj = new $class($body, $headers, $info);
  		return $obj;
  	}
docs: Extract the response info, header and body from a cURL response. Saves
  the data in variables stored on the object.
  
  @param  string $response
  
  @return Response