heartbeat interval: send as milliseconds

This fixes a regression from #52 where the heartbeat interval got sent across as seconds instead of milliseconds