some networking bits
commenting out bits to get it to build, not working yet
various, fixed include guard macros, commented out more stuff to try compile