If the HttpCommandExecutor is not created by `RemoteWebDriver::create`, for example, by `RemoteWebDriver:: createBySessionID` or other constructor methods. The curl won't set correctly.

I would suggest using lazy initialization for `HttpCommandExecutor::$curl`.