DejeCallbackManager for _on_msg
Use callbacks for more things
Make connection state logging optional