Add StreamEncoder class.
Implement Ut8Encoder class.