Get UDP working on server and client
remove unused code