Commit
dae304a4a2480417c236ea1e2be391e96cea9ac0
by Yannic KlemAdd option to get notified for connection errors
* This way a application can have a look at errors that happen
during endless reconnecting and may decide on their own, to
shut down the client or do something different to solve the errors.
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>