Send an HTTP request with the "Connection: keep-alive" header to the URL http://www.example.com, and then use awk to print the second and third fields of the response, separated by a comma.
curl -sLH "Connection: keep-alive" http://www.example.com | awk -F ',' 'BEGIN {OFS=","} {print $2,$3}'