Http adapter for js-data