Basic flow implementation

I think the receive_packet() method can be merged into the base class. The only change you'll have to make is to rename the ack_packet buffer to received_packets and the receive_ack event to receive_packet as in the ReceivingFlow class.