change validityTime return to int
take client 1.0.5 and util 1.0.15 into account
Merge pull request #3 from gsaunier/master

1.0.1