I added a client.println("Connection: close"); line also but this did not seem necessary.
The "Cookie Line seems to have eliminated the error I was getting. Does anyone know what is the reason???
I eventually changed the "GET /index.asp HTTP/1.1"" line to client.println("GET /system_status.asp HTTP/1.1");
where I able to get my IP address. I hope to use this to update my DNS. That's next.
I know that their are web sites where I can get my IP but I thought it was better to get the IP from my router. Then I do not have to worry about a web site changing its site.