fix($http): ensure that default headers are different objects

closes #5742