initial mangling of our previous implementation of mqtt-s with the mqtt-sn code.