Fix some minor type conversion warnings.
Fix some x64 type conversion warnings.
Add Winsock2 to Unittest (links in a report call.)
Merge pull request #1352 from unknownbrackets/warnings

Warning fixes