send register when connected
sockethub.sendObj