less code duplication in the poll vs select code flows

libssh2_keepalive_send and libssh2_session_block_directions are
now used outside of the #ifdef blocks.
1 file changed