Fix for node transport layer where the offset was incorrectly reset.
Prevents byteOffset out of range error when making asynchronous calls.