Instead of calling netstat on the remote device to detect available
ports, simply call bind with port 0 to bind to any available port.
Since the port is not yet known when cdc_rsync_server.exe is called,
port forwarding needs to be started AFTER the server reports its port.
CDC RSync is a command line tool / library for uploading files to a remote machine in an rsync-like
fashion. It quickly skips files with matching timestamp and size, and only transfers deltas for
existing files.