Change from Tcp to UDP

Protocol change and switching from Server to Client.