Added debug statement to figure out whether server is actually sending messages over sockets