MULE-7814: OutOfMemoryError with Jersey/HTTP Streaming

(cherry picked from commit f552ab1)