mlogger: bugfix for udpserver

With udpserver (-n), use the correct socket call.
Merge pull request #1 from agordon/udp_fix

mlogger: bugfix for udpserver