initial commit to switch to threads

TODO:

Remove raw socket for UDP

remove unused functions

remove comp_det and put everything in main()

implement ipv6 header
implement ipv6 icmp
Fixed issue with checksum