Fix bug in _getTransactionId(..)

If nextTransactionId would be initialized with 1, the first slot of reqs array (reqs[0]) would always be empty.