wininet: Fix crash when connection is null in NETCON_secure_connect
There will be crashed when connect is null, so we need avoid crash by checking connect value.
There will be crashed when connect is null, so we need avoid crash by checking connect value.