Majore refactor to normalize API and make it work for other MCU targets. Added PCAP file i/o for testing and making space for linux/mac/win raw net access