Description of problem:
The Message API defines the ttl field as a float measuring seconds. The protocol uses milliseconds, and the API implementation is not properly converting.
Steps to Reproduce:
1. Publish a message with the ttl specified in seconds.
2. Check the protocol trace.
The value measured in seconds is directly put on the wire.
The value should first be converted to milliseconds.