feat($http): accept function as headers value