What is the primary purpose of using the 'curl' command in network troubleshooting
To check for open ports on the local machine or a remote server
To transfer data from or to a server, including testing the availability of web services
To monitor real-time system resource statistics including CPU and memory usage
To display the routing table of the host system