JERSEY-1604: IOException "connection closed" happens on calling delete without parameters

- Added integration test to make sure the issue does not occur in Jersey 2.

Change-Id: I394b30a50acc24a1251237b337737129232ed5f8
Merge "JERSEY-1604: IOException "connection closed" happens on calling delete without parameters"