Replace direct use of DXHTTPRequest with API wrappers where possible.