MULE-8117: StringIndexOutOfBoundsException when requester receives GET with wrong body
(cherry picked from commit ed684d5)