1) Have '_reqNum' be a part of the parent Stream, since a ModbusRequestStack instance is only good for 1 request anyway. 2) Clean up the 'data' listener just before a ModbusRequestStack instance emits 'response', and thus the instance is finished. TODO: Use a `StreamStack#cleanup()` function once it gets implemented. 3) Don't use 'EventEmitter#once()`, unnecessary. 4) Call all REQUEST and RESPONSE functions with 'this' as the ModbusRequestStack or ModbusResponseStack instance.
…mp for 'Read Coils'.
…sters", with an example. This is some GOOD SHIT!