coverity fixes to dap4 and httpservices