avahi: wait for network on startup and restart after crash

Signed-off-by: Stephan Raue <stephan@openelec.tv>