Rename io_socket.h to get_sockets.h. (dm)
Add (and use) get_pthreads.h. (dm)