Clean up build warnings. Use type 'int' for SOCKET instead of 'unsigned int' on unix since that's what returned by accept() et al.