the code will execute like the following :
GET /192.168.0.66 HTTP/1.1
No, it won't. What follows the / is the name of a script/application on the server to execute, NOT the IP address of the server.
You are STILL running server code trying to be a client.
DO NOT START ANY MORE THREADS.