added JMX counters for renewed idle/too long connections + added/modified tests

A new commit complementary to the previous ones about dealing with firewall's connection cuts.