Add reconnect-attempts
Add reconnect-attempts

This is necessary to make use of the reconnect-possibilities introduced
with #66

The code is taken from PR #69

zendframework/zend-ldap,zendframework/zend-ldap