Support older 1.x mosquitto library versions

Don't try and tweak the in flight messages parameter if it's not
available.

Fixes github issue #4