in reply to Getting all Headers

I have nver succeeded in getting the Host and GET-variable from the server.
Show your code