- improve some parameter checking in WSAIoctl