Does `BIO_write()/BIO_read()` take care of endianness? Not sure if it is just sending bytes across the wire... I see you are already handing the `length`