Basic flow implementation

Here as well, use self.received_packets.pop().