Fixed another wrong header guard symbol
Added read- and write-macros for Unix and Windows
Use the system-specific socket I/O functions
Only include unistd.h in Unix builds
Added a HostNotFoundException type
Added hostname resolving support