ADDED: custom ByteStream async handler to be used with enumerators