foreigns htonl, ntohl, htons, ntohs are imported from ws2_32 on windows

This solves the linking issue on Windows
> undefined reference to `ntohl'