Added connect to MQTT broker on localhost, and fixed SetVersion.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>