fixes #2: Bugfix when calling socket.inet_pton on Windows machines