Socket server/client in rust.