MQTT 3.1.1. support and refactoring
Merge pull request #20 from m2mIO/feature/MQTT3.1.1

MQTT 3.1.1. support and refactoring