Modernise objc header for Swift support

The MQTTKit header was modernised in order to allow automatic Swift bridging