implementation in progress for network stream decoder written in Ruby