transceiver: split control command handling from socket I/O
- move control command parsing/response generation into ctrl_cmd_handle() - keep ctrl_sock_handle_rx() focused on socket read/write - make command input read-only where applicable - switch response formatting from sprintf() to snprintf()