Fix Windows build by including wstcpip.h before winsock.h is included

Error generated by socket-io.c was:

/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:38:2:
error: #error "ws2tcpip.h is not compatible with winsock.h.
Include winsock2.h instead."

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
[build] Enable dolt on mingw32
Merge pull request #1367 from kornelpal/dolt-mingw32

[build] Enable dolt on mingw32
Merge pull request #1366 from DynamicDevices/ajl/win32build

Fix Windows build by including wstcpip.h before winsock.h is included