method call to broadcast new message from java server to socket connections
method call to broadcast new message from java server to socket connections