Fix NPE in SCB
Implement streamed HTML4 codec and EscapedXML codec.
use &quot; escaping for quotes.
test for streaming HTMLEncoder
also test HTML4 and EscapedXML encoders