Declare libssh2 compatible structs before including git2.h
Skip SSH network tests if SSH support is not available