Xport fetch trouble

I am not sure why, but I am getting flakey results with an xport direct. It works one day great, and then the next day it doesnt. For example now, I am getting this from my serial output

QueueBot 5000
Finished Setup...
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func
Getting...
Finished GET

Return value of Data: Æ
error in actOnData func

in my Apache log I see this:

[Mon May 11 16:48:06 2009] [error] [client 192.168.0.113] Invalid URI in request C192.168.0.101/80\rGET /bit.txt

My fetch function is here

char * fetchStuff() 
  {
    byte ret;
    xport.connect(IPADDR, PORT);
    xport.flush(300);
    Serial.println("Getting...");
    xport.println("GET /bit.txt\n");
      while(xport.serialavail_timeout(300)>0)
        {
          ret=xport.readline_timeout(linebuffer, 255, 1000); // get first line
          //Serial.print("Get Return: ");Serial.print(linebuffer); Serial.print(" -- "); 
          Serial.print("Counter: "); Serial.print(counter); Serial.println(" of 10");
          counter++;
        }
  
        Serial.println("Finished GET");
        Serial.println("");
      
        char*      convertedData      = convertData(linebuffer);
        
        //Serial.print("Converted Return: ");Serial.println(convertedData); 
        //delay(10000);
        return(convertedData);
    }



  char* convertData(const char* data)
      {
        int len = strlen(data);
        char* myCopy = (char*)malloc( len-1 );
        strcpy( myCopy, data );
        myCopy[len-1] = '\0';
        //int val = strtol(myCopy,0,2); // This returns a value for the string, not in use
        return myCopy;

      }
// End Convert convertData Function

Xport Config

Baudrate (9600) ? 
I/F Mode (4C) ? 
Flow (02) ? 
Port No (10001) ? 
ConnectMode (D4) ? 
Send '+++' in Modem Mode  (Y) ? 
Show IP addr after 'RING'  (Y) ? 
Auto increment source port  (N) ? 
Remote IP Address : (000) .(000) .(000) .(000) 
Remote Port  (0) ? 
DisConnMode (00) ? 
FlushMode   (33) ? 
DisConnTime (00:00) ?:
SendChar 1  (00) ? 
SendChar 2  (00) ?

Any help would be great!!!

Regards,

John