public function setHeadersFromString($headers)
	{
		if (is_string($headers) || (is_object($headers) && method_exists($headers, '__toString'))) {
			$this->setHeadersFromArray(explode("\r\n", $headers));

			return $this;
		}

		throw new InvalidArgumentException(
			sprintf(
				'%s expects parameter 1 to be a string, %s given',
				__METHOD__,
				is_object($headers) ? get_class($headers) : gettype($headers)
			)
		);
	}