Mega 2560 Ethernet connection - unreliable connections

Hi,

I just do a HTTP request to the server to return the data and it sometimes times out its quite regular at timing out as well.

if I remove remove String class what would I have to alter in my code?

Would I use CHAR instead? not sure how can you point me in the right direction?