Filtering LDAP user input to prevent LDAP Injection
Added the feature of attempting to lookup latest DNS entries for non-SNI enabled clients, fixes #1