Don't pass WinSock error codes to strerror.

Martin Prikryl helpfully points out that when I revamped the socket
error mechanism using toplevel callbacks, I also accidentally passed
the error code to the wrong function. Use winsock_error_string instead.


git-svn-id: svn://svn.tartarus.org/sgt/putty@10048 cda61777-01e9-0310-a592-d414129be87e
random_ref() should always increment the reference count.

No current PuTTY utility was calling random_ref more than once per run
(ssh.c and the two main PuTTYgen programs call it once each), but if
one ever does (or if derived code does), it will want the reference
count to actually work sensibly.


git-svn-id: svn://svn.tartarus.org/sgt/putty@10049 cda61777-01e9-0310-a592-d414129be87e