separate the logic specific for GFDI messages from the generally useful logic. Also centralize the logging in case of leftover bytes while parsing GFDI messages.