Fix NPE when binding SSDP socket does not succeed.

This should fix https://bugs.freenetproject.org/view.php?id=6191