Pattern matching in receive for patterns that matter to parse_chunk and next_state