https://issues.apache.org/jira/browse/AMQ-5288

Fix MQTT to return meaningful error codes on connect fail.