Update configure.ac and Makefile.am rules.
Change all the instances of read/write to recv/send in wireless unit.
Simplify WSAStartup/WSACleanup.
Implement socket blocking function.