Prevent the use of SendReceiveStringList() on a socket with callbacks. Fixes #11777
(cherry picked from commit 836eb11d96abfaa5986e7382103db69769b0ae47)
Make sure callbacks are disabled when the slave backend ANNounces.

Refs #11867
(cherry picked from commit 84fa3fe02d6731d06b4d64573253710405767923)