Adding a http provider factory so I can inject tests
Removing pushconfig as a parameter for register and unregister