MULE-7842: Jersey version upgrade

Shouldn't you check that no calls were made on the delegate stream before calling the setDelegate method?