socket-programming Echo server and client for TCP/UDP with Rust. How to use $ cargo run [tcp|udp] [server|client] [addr:port]