add SSL_MODE_RELEASE_BUFFERS flag to SSL connections