Added support for "negative acks" in Java client (#3703)

* Added support for "negative acks" in Java client

* Fixed redelivery delay to be >= than configured

* Fixed redelivery after timeout

* Fixed timeout interval calculation

* Removed the 1.1 nonsense

* Fixed test cleanup

* Avoid failure when passing empty set of msg ids
1 file changed