MQTT 3.1.1 compatibility

sessionPresent flag in CONNACK
additional connected callback to interface sessionPresent