Fix the problem with building against libssh 0.4.x

* configure.ac: Add check for libssh API version.
* proxies/ssh-proxy/libssh-compat.h: New file.
* proxies/ssh-proxy/lazy-ssh.c: Include libssh-compat.h.
* Makefile.in, aclocal.m4, configure: Update.