It turns out this has been available in libssh2 for a long time and we should have been verifying this the whole time.