Fix discovery client test to expect both publish failed message that is simulated + server non existant socket message

Change-Id: Ied239e078d05b2d6bd39959380e7cc6f8ff5cc15
Merge "Fix discovery client test to expect both publish failed message that is simulated + server non existant socket message"