SSLIOStream adapted to use new Buffer class.