SSDP will crashed when calling 'addMembership' without ip address.

Signed-off-by: Manson Li <manson.li@matchstick.tv>