fix($http): Prevent calling undefined as function in defaultHttpResponseTransform

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