convert http store to use promises