Refactored ClientUDP