Read ESP8266 response problem

Hi there,

I'm working with Arduino Mega and one ESP8266 on a development board like this one.

Everything works fine except when I send a HTTP request to any server and try to read the response. I could get the logs of my server I'm using to test and it receives the HTTP request all the time I'm sending but I've never could get any data from the server as response. It doesn't mater the size of the response. I'm using WIFIEsp library running the WebClient sketch example. Here is the part of the sketch that send the HTTP request and print the response:

  Serial.println("Starting connection to server...");
  // if you get a connection, report back via serial
  if (client.connect(server, 80)) {
    Serial.println("Connected to server");
    // Make a HTTP request
    client.println("GET /asciilogo.txt HTTP/1.1");
    client.println("Host: arduino.cc");
    client.println("Connection: close");
    client.println();
  }
}

void loop()
{
  // if there are incoming bytes available
  // from the server, read them and print them
  while (client.available()) {
    char c = client.read();
    Serial.write(c);
  }

  // if the server's disconnected, stop the client
  if (!client.connected()) {
    Serial.println();
    Serial.println("Disconnecting from server...");
    client.stop();

    // do nothing forevermore
    while (true);
  }
}

Does anyone experienced the same problem and know how to solve it?

Thanks.