Fix some httpservices Coverity bugs