Fixed TCP tests on Windows.

Fixes #128.