Add encoding mode which reads UTF-8 and something else, but sends UTF-8
Expose encoding conversion error callbacks to subclasses
Fix one more recently introduced SSL crash