Added parsing of incoming messages and constructing of correct UDP broadcast packets