fix bug in time_client
Merge pull request #43 from guochy2012/master

fix 32-bit bug in time_client