added ssl_read_slice and ssl_write_slice API methods for reading and writing a specific encryption context