Updated the way the cancel flag is threated
Added fix to prevent winpcap from receiving its on packets
Got the receive function working for the first time, It is not fully
tested yet.