[Bug 19435] Some winsock calls will crash when passing NULL as protocol parameter