Handle ValueError exception that can be thrown by inet_pton in windows
Merge pull request #605 from yagoulas/win_fixes

Handle ValueError exception that can be thrown by inet_pton in windows