add support Streams coding for node>=10

not properly tested but seems works fine