IIRC the correct HTTP request should end with two newlines.  So you need: "\r\n\r\n"