yEnc decoder and encoder. Ruby implementation.