Added broadcast functionality to socket server