Fix bug in SCB, Writable's writeTo should return the writer passed as argument
support encoding SCB sub-buffers in streaming mode