MULE-7814: OutOfMemoryError with Jersey/HTTP Streaming

(cherry picked from commit 986f7b2)