Parsing of incoming messages