Custom problem with curl sending message

Hi All sitting with a problem trying to forward a incoming message to another cell phone using custom.
I have a keyword that has reply on and it just sends a message back to the sender saying thanks etc.
I then want to forward this message with the number to a designated cell number the problem is I am only getting the first word of the message using $sms_sender = $_REQUEST[‘sender’]; $message = $_REQUEST[‘raw’];
This is the line that sends the message to the cell phone.
curl_setopt($cSession,CURLOPT_URL,“http://localhost/?app=webservices&op=pv&u=xyz&h=6a6b8d3e66f17498cb3c44to=264811243769&msg=$sender $message”);
Must be someting small as I also forward the mail and that works perfect.
// Send Customer Message & Number mailbox

    $to = 'steven@it.na' ;
    $headers = 'From: accounts@it.na' . "\r\n" .
    'Reply-To: accounts@it.na' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();
    $subject = "SMS Message from $sender";
    $body = "$message" ;
         (mail($to, $subject, $body, $headers))