UDP socket disconnect bug and threading

Fixed the recent UDP related socket disconnect bug
Removed a bunch of the Task.Run().Wait() code that made no sense
Adding some skeleton code to the chat server