Sending payload to APM server failed

@Eyal_Koren , thanks for your revert.

api_request_time & api_request_size were set to default initially, still giving errors, we had increased it to above values to see if that helps.

read_timeout and max_event_size are set to 90s and 1million respectively.

We have tried with higher version of agent, but we got errors in instrumentation of certain classes since the application is build with lower jdk version