Added a very basic UDP server.
Fixed problematic connections in client.