Make Session.HearbeatTimeout and Session.ConnectionTimeout time.Duration