add id and tranceiver type to gossip_init
gossip_register_msg_handler does not need a return value