UDP changed to work with syncope

Test for a async server to handle comms and also add a thread to that
server, this particular version has a problem that once in a while data
coming from UDP gets lost…