Add size_t, ssize_t, ptrdiff_t types to C-interface.
Add documentation for new types supported by C-interface
Use ssize_t instead of unsigned-long to prevent issue on C compilers where sizeof(unsigned-long) != sizeof(void*)
Fix determination of "select" interface which no longer worked on Windows
Simplify client/server self test