Make automatic tests possible for win32/64
Fix protocol automatic test for win32
Fix resolver test build for win32; fix some minor flaws in resolver implementation
silence resolver test on win32 and fix a warning in protocol test
Fix client manual test for win32
Partially fix packet automatic test for win32
Fix userlist manual test for win32
Fix search manual test for win32
Fix a warning for win64
Fix make distcheck for win32
Fix packet automatic test for win32
Fix make distcheck
Reduce code duplication in tests
Remove unnecessary header file
Fix resolver automatic test for win32
Fix build on non-win32
Fix examples to work on win32, disable deprecated ones
Fix make distcheck
Fix connect automatic test build for win32
Partial fix for connect automatic test and win32