fix test_ssl on windows

On Windows 64 bit the socket module returns windows specific error codes. This patch makes the unit tests in test_ssl pass if the platform is "win32".