fix compiler warning about format string in syslog() call
fix compiler warning about unused variable

char *serviceArgs in main() on non windows platform is not used
implement IPv6 support