Fixing compilation + Cmake compiled for 'only core'
Added compilation as static library
Added draft for UDP and TCP sockets