add ability to set more specific options

I use it for LDAP, for example
Merge pull request #5 from Youscribe/options

add ability to set more specific options