Avoid crash when samsung phone app starts SSDP.

uncaught exception: TypeError: Cannot read property 'device' of undefined