OpenSSL will only write out 16K at once (max length of a single chunk of plaintext data) before returning from SSL_write, so there's no point in trying to pass more data than that to it at a time. The subsequent copy of 'data' ended up being quite expensive, though.
On systems with IPv6 disabled all IPv6 unit tests will now be skipped, instead of throwing an exception. On some IPv6 enabled systems with badly configured DNS, where the IPv6 loopback address ::1 is not assigned to localhost, the unit tests will fallback to using IPv4 for tests that bind to localhost instead of throwing an socket.gaierror exception. IPv6 tests that bind directly to ::1 will continue to be run.
It was possible to create such an object, but it would not serialize -> parse roundtrip. The alternative would be to reject paths without a leading /