Merge pull request #1120 from hurtonm/master

Don't delay reception of signal
vs2012: Add missing socks files
Merge pull request #1121 from twhittock/master

vs2012: Add missing socks files
Windows: if WSA error number is held, use directly.
It must be done this way, as WSAGetLastError returns 0 in these circumstances
Merge pull request #1122 from twhittock/win-errhandle

Windows: if WSA error number is held, use directly.
Resolve issue #949