handling the message, packets from redis have to be parsed