SimplePush: Refactor to use a connect callback to simplify API and elliminate race conditions
adding http basic to the unregister()