fix($http): Prevent calling undefined in defaultHttpResponseTransform

The `defaultHttpResponseTransform` accepts a second parameter, `headers`, which when not passed it throws `TypeError: undefined is not a function`.