Fixed crash of test_socket test on Windows
Merge pull request #52 from oliora/master

Fixed crash of test_socket test on Windows