Add function to check if socket is connected.

Dependencies:   FP MQTTPacket

Fork of MQTT by Christoph W.

shortlog/shortlog@f62dc079fc86: not found in manifest