Reworking diagnostic manager to use BCM sockets.