Fix not parsing messages received in parts in different packets.
Could be cleaner, but works for now until extra delimiter bug is fixed. Will not work when delimiters are no longer added at the end of packets that are in the middle of a message."