coverity fixes for dap4 and httpservices