Added header check for netinet/in.h and sys/socket.h.
Imported code from zannet. NEEDS TO BE REVISED.
Added all files of net directory to the build.
WIP on re-layout of the project.