Split code out of udpServer.h into udpServer.cpp