dual api support for http client api in work item handler

I guess this can't be final because it is needed for the testing (as comment says). I think it would be better to call it `httpClientApi43` as the UPPER_CASE by convention suggests this is a constant, which in fact is not. WDYT?