is this ever the case? surely $url_request is either an HttpClient instance, or PHP will throw an error on line 477 when it tries to create the instance?