switched to dependency injection for HTTP adaptor

previously the store module needed to be loaded only after the adaptor
was overridden, which proved rather awkward