change int usage to cs_sock_t.

Replace the remaining instances where int is used as FD type with
cs_sock_t. This fixes a considerable number of warnings on Win32.