QPID-5825: Broker tries to downgrade to the wrong amqp protocol version

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603786 13f79535-47bb-0310-9956-ffa450edef68
QPID-5831: Unexpected internal exception when closing JE Replicated environment

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603791 13f79535-47bb-0310-9956-ffa450edef68