add ability to set more specific options

I use it for LDAP, for example