Utils/Logger: Add more consistent and flexible configuration options to SyslogUDPTarget and IOStreamTarget