Accepts an associative array of options:
array{handle_factory?: ?CurlFactoryInterface} $options Array of options to use with the handler:
public function __construct(array $options = []) { $this->factory = $options['handle_factory'] ?? new CurlFactory(3); }