Task #549 refactoring of create_igmp_frame function and usage (wip)