net-rs: extract shared command dispatch from peer_task and duplex_task
The PeerCommand dispatch loop was duplicated nearly verbatim between peer_task.rs and duplex_task.rs. Extract into command_dispatch.rs so adding a new command variant requires a single edit instead of two. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>