Marco, you should move to the GSM module on
GPRS module . I assume, that your uC does not have a TCP/IP stack and the M50 as well. The GPRS module that I recommend comes with intgrated TCP/IP stack. Please note that you have to use flow control during your GPRS connection.
Meff