Do not assert trying to send messages if IPv6 is not available
This may be a deliberate system configuration, so there is no need for a fatal failure. For consistency, all of the assertions are changed into warning messages so that there will be diagnostics even in release mode.
The problem happens as described at https://bugs.kde.org/show_bug.cgi?id=430890 if IPv6 is not available or not configured.