Just pass `.c_str()` directly to `ssl_write` and use `.length` to get the length