rather than utilising the HttpClient directly could we use the org.openhab.io.net.http.HttpUtil?