removed winsock2.h dependency from nicontroller.cc

- winsock2.h caused issues as winsock.h is already included (WIN32 only)
- replaced calls to inet_pton() with using gethostbyname() method (used also in TransportTCP.cc)
- fixed warnings in debug printf statements due to size of variables