SuccessChanges

Summary

  1. When creating a ssl connection an attribute error can be thrown (details)
Commit 60d15b32fbe80e2bfc288c21b161fc3249108d9e by hmvp
When creating a ssl connection an attribute error can be thrown

This error is not catched and stops loop_forever etc., that is very
unexpected. So we catch the error and raise a error that is actually
catched (and better represents the situation)

See also: http://bugs.python.org/issue13721

Change-Id: I495c08ec079290a97caeaf0e7f88116041d8cec6
Signed-off-by: Hmvp <hmvp@hmvp.nl>
The file was modifiedsrc/paho/mqtt/client.py