Implement basic MQTT broker functionality

Only connect, publish and subscribe.
Merge pull request #156 from cesanta/mqtt_broker

Implement basic MQTT broker functionality