Implement connection handshake via UDP