catch non-standard mqtt exceptions
committing mosquitto.py

Forked from branch 1.2 (7e36778)