Fixed keepalive=0 according to MQTT 3.1.1.

Closes #106.