libconnect: lib/platform/sys_nt.c: some refactoring and playing with data types